export function verifyEmail(email: string): boolean {
  const emailRegex: RegExp = /^[^\s@]+@[^\s@]+\.[^\s@]+$/
  return emailRegex.test(email)
}
//验证密码 大于六位并且由数字字母下划线组成
export function verifyPassword(pas: string): boolean {
  const passwordRegex: RegExp = /^[A-Za-z0-9_]{6,}$/
  return passwordRegex.test(pas)
}
